package com.twu.biblioteca;

/**
 * Created by thoughtworker on 1/14/14.
 */
public class Book {

    private String title;
    private boolean checkedOut = false;

    public Book(String title) {
        this.title = title;
    }

    public String toString() {
        return title;
    }

    public String getTitle() {
        return title;
    }

    public void checkOut() {
        this.checkedOut = true;
    }

    public boolean isCheckedOut() {
        return checkedOut;
    }
}
